package top.xiaocao.remote;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 
 * @className: HelloRemoteHystrix
 * @comment: 熔断默认实现
 * @date: 2021年11月21日 下午7:14:47 
 *
 * @author zhengchong.wan
 * @since V1.0.0
 */
@Component
public class HelloRemoteHystrix implements HelloRemote{

    @Override
    public String hello(@RequestParam(value = "name") String name) {
        return "hello " +name+", this messge send failed ";
    }
}
